package com.kkks.spring_rest.tick.model;

import javax.persistence.Column;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.MappedSuperclass;

/**
 * AbstractWhoOrderInfo entity provides the base persistence definition of the
 * WhoOrderInfo entity. @author MyEclipse Persistence Tools
 */
@MappedSuperclass
public abstract class AbstractWhoOrderInfo implements java.io.Serializable {

	// Fields

	private Integer orderId;
	private Integer userId;
	private String orderSn;
	private Boolean orderStatus;
	private Boolean shippingStatus;
	private Boolean payStatus;
	private Integer shippingId;
	private String shippingName;
	private Integer payId;
	private String payName;
	private String oosChose;
	private Double goodsAmount;
	private Double shippingMoney;
	private Double discount;
	private Double integralMoney;
	private Double bonusMoney;
	private Double orderAmount;
	private Double payMoney;
	private Double surplus;
	private Integer integral;
	private String bonusSn;
	private String invoiceNo;
	private String payNote;
	private Double tax;
	private String isSeparate;
	private Integer parentId;
	private Integer payTime;
	private Integer shippingTime;
	private Integer goodsNum;
	private String currency;
	private Double rate;
	private Double tariff;
	private Boolean tariffStatus;
	private Integer addTime;
	private Integer lastUpdate;
	private Boolean orderFlag;
	private Double orderTotalAmount;
	private Double goodsTotalWeight;
	private Double shippingFeeDiscount;
	private String taxNo;
	private String paypalTrade;
	private Boolean orderSource;
	private String cardSn;
	private Double cardMoney;
	private Double couponMoney;
	private String freecodeSn;
	private Integer freecodeId;
	private Boolean prepareStatus;

	// Constructors

	/** default constructor */
	public AbstractWhoOrderInfo() {
	}

	/** minimal constructor */
	public AbstractWhoOrderInfo(Integer userId, String orderSn,
			Boolean orderStatus, Boolean shippingStatus, Boolean payStatus,
			Integer shippingId, String shippingName, Integer payId,
			String payName, String oosChose, Double goodsAmount,
			Double shippingMoney, Double discount, Double integralMoney,
			Double orderAmount, Double payMoney, Double surplus,
			Integer integral, String bonusSn, String payNote, Double tax,
			String isSeparate, Integer parentId, Integer payTime,
			Integer shippingTime, String currency, Double rate, Double tariff,
			Boolean tariffStatus, Integer addTime, Integer lastUpdate,
			Boolean orderFlag, Double orderTotalAmount,
			Double goodsTotalWeight, Double shippingFeeDiscount, String taxNo,
			String paypalTrade, Boolean orderSource, String cardSn,
			Double cardMoney, Double couponMoney, String freecodeSn,
			Integer freecodeId, Boolean prepareStatus) {
		this.userId = userId;
		this.orderSn = orderSn;
		this.orderStatus = orderStatus;
		this.shippingStatus = shippingStatus;
		this.payStatus = payStatus;
		this.shippingId = shippingId;
		this.shippingName = shippingName;
		this.payId = payId;
		this.payName = payName;
		this.oosChose = oosChose;
		this.goodsAmount = goodsAmount;
		this.shippingMoney = shippingMoney;
		this.discount = discount;
		this.integralMoney = integralMoney;
		this.orderAmount = orderAmount;
		this.payMoney = payMoney;
		this.surplus = surplus;
		this.integral = integral;
		this.bonusSn = bonusSn;
		this.payNote = payNote;
		this.tax = tax;
		this.isSeparate = isSeparate;
		this.parentId = parentId;
		this.payTime = payTime;
		this.shippingTime = shippingTime;
		this.currency = currency;
		this.rate = rate;
		this.tariff = tariff;
		this.tariffStatus = tariffStatus;
		this.addTime = addTime;
		this.lastUpdate = lastUpdate;
		this.orderFlag = orderFlag;
		this.orderTotalAmount = orderTotalAmount;
		this.goodsTotalWeight = goodsTotalWeight;
		this.shippingFeeDiscount = shippingFeeDiscount;
		this.taxNo = taxNo;
		this.paypalTrade = paypalTrade;
		this.orderSource = orderSource;
		this.cardSn = cardSn;
		this.cardMoney = cardMoney;
		this.couponMoney = couponMoney;
		this.freecodeSn = freecodeSn;
		this.freecodeId = freecodeId;
		this.prepareStatus = prepareStatus;
	}

	/** full constructor */
	public AbstractWhoOrderInfo(Integer userId, String orderSn,
			Boolean orderStatus, Boolean shippingStatus, Boolean payStatus,
			Integer shippingId, String shippingName, Integer payId,
			String payName, String oosChose, Double goodsAmount,
			Double shippingMoney, Double discount, Double integralMoney,
			Double bonusMoney, Double orderAmount, Double payMoney,
			Double surplus, Integer integral, String bonusSn, String invoiceNo,
			String payNote, Double tax, String isSeparate, Integer parentId,
			Integer payTime, Integer shippingTime, Integer goodsNum,
			String currency, Double rate, Double tariff, Boolean tariffStatus,
			Integer addTime, Integer lastUpdate, Boolean orderFlag,
			Double orderTotalAmount, Double goodsTotalWeight,
			Double shippingFeeDiscount, String taxNo, String paypalTrade,
			Boolean orderSource, String cardSn, Double cardMoney,
			Double couponMoney, String freecodeSn, Integer freecodeId,
			Boolean prepareStatus) {
		this.userId = userId;
		this.orderSn = orderSn;
		this.orderStatus = orderStatus;
		this.shippingStatus = shippingStatus;
		this.payStatus = payStatus;
		this.shippingId = shippingId;
		this.shippingName = shippingName;
		this.payId = payId;
		this.payName = payName;
		this.oosChose = oosChose;
		this.goodsAmount = goodsAmount;
		this.shippingMoney = shippingMoney;
		this.discount = discount;
		this.integralMoney = integralMoney;
		this.bonusMoney = bonusMoney;
		this.orderAmount = orderAmount;
		this.payMoney = payMoney;
		this.surplus = surplus;
		this.integral = integral;
		this.bonusSn = bonusSn;
		this.invoiceNo = invoiceNo;
		this.payNote = payNote;
		this.tax = tax;
		this.isSeparate = isSeparate;
		this.parentId = parentId;
		this.payTime = payTime;
		this.shippingTime = shippingTime;
		this.goodsNum = goodsNum;
		this.currency = currency;
		this.rate = rate;
		this.tariff = tariff;
		this.tariffStatus = tariffStatus;
		this.addTime = addTime;
		this.lastUpdate = lastUpdate;
		this.orderFlag = orderFlag;
		this.orderTotalAmount = orderTotalAmount;
		this.goodsTotalWeight = goodsTotalWeight;
		this.shippingFeeDiscount = shippingFeeDiscount;
		this.taxNo = taxNo;
		this.paypalTrade = paypalTrade;
		this.orderSource = orderSource;
		this.cardSn = cardSn;
		this.cardMoney = cardMoney;
		this.couponMoney = couponMoney;
		this.freecodeSn = freecodeSn;
		this.freecodeId = freecodeId;
		this.prepareStatus = prepareStatus;
	}

	// Property accessors
	@Id
	@GeneratedValue
	@Column(name = "order_id", unique = true, nullable = false)
	public Integer getOrderId() {
		return this.orderId;
	}

	public void setOrderId(Integer orderId) {
		this.orderId = orderId;
	}

	@Column(name = "user_id", nullable = false)
	public Integer getUserId() {
		return this.userId;
	}

	public void setUserId(Integer userId) {
		this.userId = userId;
	}

	@Column(name = "order_sn", unique = true, nullable = false, length = 32)
	public String getOrderSn() {
		return this.orderSn;
	}

	public void setOrderSn(String orderSn) {
		this.orderSn = orderSn;
	}

	@Column(name = "order_status", nullable = false)
	public Boolean getOrderStatus() {
		return this.orderStatus;
	}

	public void setOrderStatus(Boolean orderStatus) {
		this.orderStatus = orderStatus;
	}

	@Column(name = "shipping_status", nullable = false)
	public Boolean getShippingStatus() {
		return this.shippingStatus;
	}

	public void setShippingStatus(Boolean shippingStatus) {
		this.shippingStatus = shippingStatus;
	}

	@Column(name = "pay_status", nullable = false)
	public Boolean getPayStatus() {
		return this.payStatus;
	}

	public void setPayStatus(Boolean payStatus) {
		this.payStatus = payStatus;
	}

	@Column(name = "shipping_id", nullable = false)
	public Integer getShippingId() {
		return this.shippingId;
	}

	public void setShippingId(Integer shippingId) {
		this.shippingId = shippingId;
	}

	@Column(name = "shipping_name", nullable = false, length = 60)
	public String getShippingName() {
		return this.shippingName;
	}

	public void setShippingName(String shippingName) {
		this.shippingName = shippingName;
	}

	@Column(name = "pay_id", nullable = false)
	public Integer getPayId() {
		return this.payId;
	}

	public void setPayId(Integer payId) {
		this.payId = payId;
	}

	@Column(name = "pay_name", nullable = false, length = 120)
	public String getPayName() {
		return this.payName;
	}

	public void setPayName(String payName) {
		this.payName = payName;
	}

	@Column(name = "oos_chose", nullable = false, length = 60)
	public String getOosChose() {
		return this.oosChose;
	}

	public void setOosChose(String oosChose) {
		this.oosChose = oosChose;
	}

	@Column(name = "goods_amount", nullable = false, precision = 10)
	public Double getGoodsAmount() {
		return this.goodsAmount;
	}

	public void setGoodsAmount(Double goodsAmount) {
		this.goodsAmount = goodsAmount;
	}

	@Column(name = "shipping_money", nullable = false, precision = 10)
	public Double getShippingMoney() {
		return this.shippingMoney;
	}

	public void setShippingMoney(Double shippingMoney) {
		this.shippingMoney = shippingMoney;
	}

	@Column(name = "discount", nullable = false, precision = 10)
	public Double getDiscount() {
		return this.discount;
	}

	public void setDiscount(Double discount) {
		this.discount = discount;
	}

	@Column(name = "integral_money", nullable = false, precision = 10)
	public Double getIntegralMoney() {
		return this.integralMoney;
	}

	public void setIntegralMoney(Double integralMoney) {
		this.integralMoney = integralMoney;
	}

	@Column(name = "bonus_money", precision = 10)
	public Double getBonusMoney() {
		return this.bonusMoney;
	}

	public void setBonusMoney(Double bonusMoney) {
		this.bonusMoney = bonusMoney;
	}

	@Column(name = "order_amount", nullable = false, precision = 10)
	public Double getOrderAmount() {
		return this.orderAmount;
	}

	public void setOrderAmount(Double orderAmount) {
		this.orderAmount = orderAmount;
	}

	@Column(name = "pay_money", nullable = false, precision = 10)
	public Double getPayMoney() {
		return this.payMoney;
	}

	public void setPayMoney(Double payMoney) {
		this.payMoney = payMoney;
	}

	@Column(name = "surplus", nullable = false, precision = 10)
	public Double getSurplus() {
		return this.surplus;
	}

	public void setSurplus(Double surplus) {
		this.surplus = surplus;
	}

	@Column(name = "integral", nullable = false)
	public Integer getIntegral() {
		return this.integral;
	}

	public void setIntegral(Integer integral) {
		this.integral = integral;
	}

	@Column(name = "bonus_sn", nullable = false, length = 32)
	public String getBonusSn() {
		return this.bonusSn;
	}

	public void setBonusSn(String bonusSn) {
		this.bonusSn = bonusSn;
	}

	@Column(name = "invoice_no", length = 200)
	public String getInvoiceNo() {
		return this.invoiceNo;
	}

	public void setInvoiceNo(String invoiceNo) {
		this.invoiceNo = invoiceNo;
	}

	@Column(name = "pay_note", nullable = false, length = 128)
	public String getPayNote() {
		return this.payNote;
	}

	public void setPayNote(String payNote) {
		this.payNote = payNote;
	}

	@Column(name = "tax", nullable = false, precision = 10)
	public Double getTax() {
		return this.tax;
	}

	public void setTax(Double tax) {
		this.tax = tax;
	}

	@Column(name = "is_separate", nullable = false, length = 20)
	public String getIsSeparate() {
		return this.isSeparate;
	}

	public void setIsSeparate(String isSeparate) {
		this.isSeparate = isSeparate;
	}

	@Column(name = "parent_id", nullable = false)
	public Integer getParentId() {
		return this.parentId;
	}

	public void setParentId(Integer parentId) {
		this.parentId = parentId;
	}

	@Column(name = "pay_time", nullable = false)
	public Integer getPayTime() {
		return this.payTime;
	}

	public void setPayTime(Integer payTime) {
		this.payTime = payTime;
	}

	@Column(name = "shipping_time", nullable = false)
	public Integer getShippingTime() {
		return this.shippingTime;
	}

	public void setShippingTime(Integer shippingTime) {
		this.shippingTime = shippingTime;
	}

	@Column(name = "goods_num")
	public Integer getGoodsNum() {
		return this.goodsNum;
	}

	public void setGoodsNum(Integer goodsNum) {
		this.goodsNum = goodsNum;
	}

	@Column(name = "currency", nullable = false, length = 20)
	public String getCurrency() {
		return this.currency;
	}

	public void setCurrency(String currency) {
		this.currency = currency;
	}

	@Column(name = "rate", nullable = false, precision = 10)
	public Double getRate() {
		return this.rate;
	}

	public void setRate(Double rate) {
		this.rate = rate;
	}

	@Column(name = "tariff", nullable = false, precision = 10)
	public Double getTariff() {
		return this.tariff;
	}

	public void setTariff(Double tariff) {
		this.tariff = tariff;
	}

	@Column(name = "tariff_status", nullable = false)
	public Boolean getTariffStatus() {
		return this.tariffStatus;
	}

	public void setTariffStatus(Boolean tariffStatus) {
		this.tariffStatus = tariffStatus;
	}

	@Column(name = "add_time", nullable = false)
	public Integer getAddTime() {
		return this.addTime;
	}

	public void setAddTime(Integer addTime) {
		this.addTime = addTime;
	}

	@Column(name = "last_update", nullable = false)
	public Integer getLastUpdate() {
		return this.lastUpdate;
	}

	public void setLastUpdate(Integer lastUpdate) {
		this.lastUpdate = lastUpdate;
	}

	@Column(name = "order_flag", nullable = false)
	public Boolean getOrderFlag() {
		return this.orderFlag;
	}

	public void setOrderFlag(Boolean orderFlag) {
		this.orderFlag = orderFlag;
	}

	@Column(name = "order_total_amount", nullable = false, precision = 10)
	public Double getOrderTotalAmount() {
		return this.orderTotalAmount;
	}

	public void setOrderTotalAmount(Double orderTotalAmount) {
		this.orderTotalAmount = orderTotalAmount;
	}

	@Column(name = "goods_total_weight", nullable = false, precision = 10)
	public Double getGoodsTotalWeight() {
		return this.goodsTotalWeight;
	}

	public void setGoodsTotalWeight(Double goodsTotalWeight) {
		this.goodsTotalWeight = goodsTotalWeight;
	}

	@Column(name = "shipping_fee_discount", nullable = false, precision = 10)
	public Double getShippingFeeDiscount() {
		return this.shippingFeeDiscount;
	}

	public void setShippingFeeDiscount(Double shippingFeeDiscount) {
		this.shippingFeeDiscount = shippingFeeDiscount;
	}

	@Column(name = "tax_no", nullable = false, length = 64)
	public String getTaxNo() {
		return this.taxNo;
	}

	public void setTaxNo(String taxNo) {
		this.taxNo = taxNo;
	}

	@Column(name = "paypal_trade", nullable = false, length = 64)
	public String getPaypalTrade() {
		return this.paypalTrade;
	}

	public void setPaypalTrade(String paypalTrade) {
		this.paypalTrade = paypalTrade;
	}

	@Column(name = "order_source", nullable = false)
	public Boolean getOrderSource() {
		return this.orderSource;
	}

	public void setOrderSource(Boolean orderSource) {
		this.orderSource = orderSource;
	}

	@Column(name = "card_sn", nullable = false, length = 32)
	public String getCardSn() {
		return this.cardSn;
	}

	public void setCardSn(String cardSn) {
		this.cardSn = cardSn;
	}

	@Column(name = "card_money", nullable = false, precision = 10)
	public Double getCardMoney() {
		return this.cardMoney;
	}

	public void setCardMoney(Double cardMoney) {
		this.cardMoney = cardMoney;
	}

	@Column(name = "coupon_money", nullable = false, precision = 10)
	public Double getCouponMoney() {
		return this.couponMoney;
	}

	public void setCouponMoney(Double couponMoney) {
		this.couponMoney = couponMoney;
	}

	@Column(name = "freecode_sn", nullable = false, length = 20)
	public String getFreecodeSn() {
		return this.freecodeSn;
	}

	public void setFreecodeSn(String freecodeSn) {
		this.freecodeSn = freecodeSn;
	}

	@Column(name = "freecode_id", nullable = false)
	public Integer getFreecodeId() {
		return this.freecodeId;
	}

	public void setFreecodeId(Integer freecodeId) {
		this.freecodeId = freecodeId;
	}

	@Column(name = "prepare_status", nullable = false)
	public Boolean getPrepareStatus() {
		return this.prepareStatus;
	}

	public void setPrepareStatus(Boolean prepareStatus) {
		this.prepareStatus = prepareStatus;
	}

}